package proxy.selfdom;

public class GamePlayer implements IGamePlayer {
	private String name;

	public GamePlayer(String name) {
		this.name = name;
	}

	@Override
	public void login(String userName, String password) {
		System.out.println("用户" + userName  + "登录了游戏");
	}

	@Override
	public void killBoss() {
		System.out.println(this.name + "杀死了BOSS");
	}

	@Override
	public void upgrade() {
		System.out.println(this.name + "升级了！！");
	}


}
